// Unless explicitly stated otherwise all files in this repository are licensed
// under the Apache License Version 2.0.
// This product includes software developed at Datadog (https://www.datadoghq.com/).
// Copyright 2016-present Datadog, Inc.

package invocationlifecycle

const (
	// TraceIDHeader is the header containing the traceID
	// used in /trace-context and /lambda/start-invocation
	TraceIDHeader = "x-datadog-trace-id"

	// ParentIDHeader is the header containing the parentID
	// used in /trace-context and /lambda/start-invocation
	ParentIDHeader = "x-datadog-parent-id"

	// SpanIDHeader is the header containing the spanID
	// used in /lambda/start-invocation
	SpanIDHeader = "x-datadog-span-id"

	// InvocationErrorHeader : if set to "true", the extension will know that the current invocation has failed
	// used in /lambda/end-invocation
	InvocationErrorHeader = "x-datadog-invocation-error"

	// SamplingPriorityHeader is the header containing the sampling priority for execution and/or inferred spans
	SamplingPriorityHeader = "x-datadog-sampling-priority"

	// Lambda function trigger span tag values
	apiGateway              = "api-gateway"
	applicationLoadBalancer = "application-load-balancer"
	cloudwatchEvents        = "cloudwatch-events"
	cloudwatchLogs          = "cloudwatch-logs"
	dynamoDB                = "dynamodb"
	eventBridge             = "eventbridge"
	kinesis                 = "kinesis"
	s3                      = "s3"
	sns                     = "sns"
	sqs                     = "sqs"
	functionURL             = "lambda-function-url"
)
